package com.ledict.casefiling.entity;

import com.sun.org.apache.xpath.internal.operations.Bool;
import lombok.Data;

import java.util.List;

@Data
public class SysRole {
    private long rid;
    private String role;
    private String description;
    private Boolean available = Boolean.TRUE; // 是否可用,如果不可用将不会添加给用户
    //角色 -- 权限关系：多对多关系;
    private List<SysPermission> permissions;
    // 用户 - 角色关系定义;
    private List<SysUser> users;
}
